﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NCT.MRS.DataAccessLayer.Entities
{
    public class TestRequest : IEntity
    {
        public TestRequest()
        {
            IsVoided = false;
            TestTypesResults = new List<TestTypeResult>();
        }

        public int Id { get; set; }
        public string TestRequestNumber { get; set; }
        public decimal Discount { get; set; }
        public decimal DiscountPrice { get; set; }
        public decimal Total { get; set; }
        public decimal SubTotal { get; set; }
        public int DoctorId { get; set; }
        public virtual Doctor Doctor { get; set; }
        public int ClientId { get; set; }
        public virtual Client Client { get; set; }

        public int? TestPackageId { get; set; }
        public virtual TestPackage TestPackage { get; set; }

        public decimal PackageDiscount { get; set; }

        public virtual List<TestTypeResult> TestTypesResults { get; set; }

        public bool IsVoided { get; set; }

        public DateTime DateAdded { get; set; }
        public DateTime DateModified { get; set; }
        public int ModifiedByUserId { get; set; }
        public virtual User ModifiedByUser { get; set; }
    }
}
